package com.pay.order.service;

import com.pay.common.result.Result;
import com.pay.order.dto.OrderCreateRequest;
import com.pay.order.dto.OrderCreateResponse;

/**
 * 订单服务接口
 */
public interface OrderService {
    
    /**
     * 创建订单
     */
    Result<OrderCreateResponse> createOrder(OrderCreateRequest request);
    
    /**
     * 查询订单
     */
    Result<OrderCreateResponse> getOrder(String orderNo);
    
    /**
     * 取消订单
     */
    Result<Void> cancelOrder(String orderNo);
}




